﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Xml.Serialization;

namespace Sovigaz.DataProvider
{
    public partial class SovigazDbContext
    {
        public DbSet<CommandLine> CommandLines { get; set; }
    }

    [Table("CommandLines")]
    public class CommandLine 
    {
        [Key]
        public int CommandLineID { get; set; }

        public int CommandID { get; set; }

        public int PartnerID { get; set; }

        [NotMapped]
        public string PartnerName { get; set; }

        public int PlanQty { get; set; }

        public int ShippedQty { get; set; }

        public int ReceivedEmptyQty { get; set; }

        public int ReceivedFullQty { get; set; }

        public string Status { get; set; }

        public string Description { get; set; }
    }
}